<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="myf" uri="/WEB-INF/elfun.tld" %>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" %>
<!DOCTYPE HTML>
<html>
<head>
    <title>资讯详情页</title>
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="This is my page">
    <meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0, maximum-scale=2.0"/>
    <style type="text/css">
		p{
			text-indent: 2em; /*em是相对单位，2em即现在一个字大小的两倍*/
		}
        body, tr, td, table {
            margin: 0px;
            padding: 0px;
            font-size: 13px;
            text-decoration: none;
            font-family: "宋体";
            color: #333333
        }

        form, img, p {
            margin: 0px auto;
            padding: 0px auto;
            border: none;
        }

        div, span {
            margin: 0px auto;
            padding: 0px auto;
            border: none;
        }

        .title {
            background-color: #EEEEEE;
            font-size: 16px;
            line-height: 28px;
        }

        .footcss1 {
            background-color: #CC0000;
            width: 100%;
            color: #FFF;
            font-size: 20px;
            height: 35px;
            line-height: 40px;
        }

        .ft1 {
            font-weight: normal;
            font-style: normal;
            text-decoration: none;
            color: #333333;
            text-align: left;
            word-wrap: break-word;
            margin-left: 5px;
        }

        .h5 {
            text-align: right;
            padding-right: 5px;
            font-size: 14px;
            line-height: 24px;
            color: #FF6600;
        }

        .ft {
            text-align: center;
            word-wrap: break-word;

        }

        .ft1 p {
            line-height: 25px;
        }
    </style>
</head>

<body>
<div>

</div>
<div id="anch-0"></div>
<div class="footcss1" id="anch-0">
    <div class="ft">
        公告详情
    </div>
</div>
<c:forEach var="info" items="${requestScope.noticeList}" varStatus="cont">
    <div class="title">&nbsp;${cont.count}、${info.title}</div>
    <div class="ft1">
        <p>${myf:replaceToHtml(info.content)}</p>
        <p class="h5">
            <fmt:formatDate value="${info.createTime}" pattern="yyyy-MM-dd HH:mm:ss"/>
        </p>
    </div>
</c:forEach>
</body>
</html>
